import 'package:Smart/res/colors_res.dart';
import 'package:Smart/utils/routers/page_jump_service.dart';
import 'package:flutter/material.dart';
//屏幕适配
import 'package:Smart/utils/screen_unit/gs_screen_util.dart';
// import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:Smart/pages/productor008/project/pages/gs_index_page.dart';

class ProjectMain008 extends StatefulWidget {
  @override
  _ProjectMain008 createState() => _ProjectMain008();
}

class _ProjectMain008 extends State<ProjectMain008> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        leading: GestureDetector(
          onTap: () {
            PageJumpService.instance().goBack();
          },
          child: Icon(
            Icons.arrow_back_ios,
            size: 20,
            color: Color(0XFF231815),
          ),
        ),
        backgroundColor: ColorsRes.color_ffffff,
        title: Text(
          "杨情缘- 一键呼叫弹框,蓝牙主页面3弹框",
          style: TextStyle(color: ColorsRes.color_000000),
        ),
      ),
      body: Container(
          child: Column(
        children: [
          GestureDetector(
            onTap: () {
              PageJumpService.instance().goTo(GSIndexPage());
            },
            child: Container(
              margin: EdgeInsets.only(top: 30.w),
              height: 44.w,
              // width:120.w,
              color: Colors.red[100],
              child: Align(
                  child: Text(
                'spring4',
                textAlign: TextAlign.center,
                style: TextStyle(
                  fontSize: 22.w,
                ),
              )),
            ),
          )
        ],
      )),
    );
  }
}
